


using Payroll.BusinessLogic.EmployeeManagement;

namespace Payroll.BusinessLogic.Security
{
    /// <summary>
    /// Represents an ACL
    /// </summary>
    public partial class ACL : BaseEntity
    {
        #region Properties

        /// <summary>
        /// Gets or sets the ACL identifier
        /// </summary>
        public int AclId { get; set; }

        /// <summary>
        /// Gets or sets the customer action identifier
        /// </summary>
        public int CustomerActionId { get; set; }

        /// <summary>
        /// Gets or sets the customer role identifier
        /// </summary>
        public int CustomerRoleId { get; set; }

        /// <summary>
        /// Gets or sets the value indicating whether action is allowed
        /// </summary>
        public bool Allow { get; set; }

        #endregion

        #region Navigation Properties

        /// <summary>
        /// Gets the customer action
        /// </summary>
        public virtual EmployeeAction PAyrollEmployeeAction { get; set; }

        #endregion
    }

}
